package com.changgou.entity;

/**
 * @description:
 * @author:
 * @date: 2020-07-15 21:38
 **/
public enum EResultCode {

    TIMEOUT_(100, "对不起，网络开小差了"),
    PARAM_ERROR(101, "参数不合法"),
    DATA_NOT_EXIST(102, "数据不存在");

    private Integer code;
    private String desc;

    private EResultCode(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

}
